package com.songshuai.webapi.crm.feign;

import com.songshuai.webapi.baseapi.pojo.QueryResponse;
import com.songshuai.webapi.baseapi.pojo.feign.request.MasterNumberParamReqDto;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;


@FeignClient(value = "base-api")
public interface SchoolMasterNumberClient {

    //获取自增记录数据
    @PostMapping("/api/masternumber/queryNumberValueByParam")
    QueryResponse<String> queryNumberValueByParam(/*@RequestHeader(value = "Authorization") String token,*/@RequestBody MasterNumberParamReqDto parmDto);
}
